package com.housediyadmin.model
{
	import com.housediyadmin.vo.Room;
	
	import mx.collections.ArrayCollection;
	
	import org.robotlegs.mvcs.Actor;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/2
	 */	
	public class RoomModel extends Actor
	{
		[Bindable]
		public var roomArray:ArrayCollection;
		
		[Bindable]
		public var rooms:ArrayCollection = new ArrayCollection();
		[Bindable]
		public var currentRoom:Room;
		public var roomIds:Array = new Array();
		public var open:Boolean = false;
		public function RoomModel()
		{
			super();
		}
		
		public function updateRoomModel(roomArray:ArrayCollection):void
		{
			this.roomArray = roomArray;
		}
	}
}